#!coding=utf-8
from django.db import models
import settings
from enterprise_basic_information.models import *

#登记申请表
#危险化学品生产使用环境管理登记申请表
class Registration_application_form(models.Model):
    No= models.CharField(u'申请表编号',max_length = 30)
    province = models.CharField(u'省',max_length = 30)
    city = models.CharField(u'市',max_length = 30)
    county = models.CharField(u'县',max_length = 30)

    enterprise_name = models.CharField(u"企业名称(公章)",max_length=30)
    organization_code = models.CharField(u'组织机构代码',max_length = 30)
    legal_representative = models.CharField(u'法定代表人',max_length = 30)
    contact_telephone = models.CharField(u'联系人及电话',max_length = 30)
    activity = models.CharField(u'危险化学品活动',max_length = 30)
    type = models.CharField(u'危险化学品类型',max_length = 30)
    register_type = models.CharField(u'登记类型',max_length = 30)
    register_year = models.CharField(u'登记年度',max_length = 30)
    #企业申明
    fill_name = models.CharField(u'填表人姓名',max_length = 30)
    fill_date = models.CharField(u'填表日期',max_length = 30)
    fill_phone = models.CharField(u'联系电话',max_length = 30)
    fill_mobile = models.CharField(u'手机号码',max_length = 30)
    fill_fax= models.CharField(u'传真号码',max_length = 30)
    fill_email = models.CharField(u'电子邮箱',max_length = 30)
    enterprise = models.ForeignKey(Enterprise)
